﻿using IMeiWei.Model;
using IMeiWeiWebService.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace IMeiWeiWebService.Extensions
{
    public static class sceneclassificationExtension
    {
        public static Scene ToScene(this sceneclassification record)
        {
            if (null == record)
            {
                return null;
            }
            return new Scene()
            {
                SceneId = record.Id,
                SceneName = record.SceneName,
            };
        }
    }
}